package com.starnet.studentmanagement.service;

import com.starnet.studentmanagement.entity.Courses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starnet.studentmanagement.vo.PageResult;
import com.starnet.studentmanagement.vo.Result;
import com.starnet.studentmanagement.vo.param.PageParams;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sangeng
 * @since 2022-03-26
 */
public interface CoursesService {
    PageResult listPage(String cname, Integer page, Integer pageSize);

    Result addNewCourse(Courses course);

    Result updateCourse(Courses course);

    Result deleteById(int cid);
}
